<?php

abstract class BaseController
{
	protected $registry;
	protected $o_configuration;
	protected $arr_forms;
	protected $arr_appConf;
	protected $o_em;
	protected $o_loader;
	function __construct()
	{
		$this->registry = Claycode_ObjectRegister::getInstance();
		$this->o_em = Doctrine::get()->em;
		$this->arr_appForms = array(); 
		$this->o_configuration = Claycode_configuration::getInstance();
		$this->arr_appConf = $this->o_configuration->getCurrentAppConf();
		$this->registry->template = new Template();
		$this->o_loader = FileLoader::getInstance();
	}

	abstract function start();
}